{{indexmenu_n>37}}

====== Test Pathnames ======
NOTE: "Test" Namespace needs a blank child page to be sorted properly by Indexmenu Plugin.
Please don't fix this problem!! It is an example.  See indexmenu_n>7  but it stays at the top?

=== Fixing Namespaces are sorted first, then individual pages ===

How to add a Blank Sub-page to get the sort order working.

Question: Why is indexmenu set to 4 and this page does not show up at position 4 but at the top?

Fabbian discovered the answer:

  - All Namespaces with multiple pages are sorted first by indexmenu plugin.
  - To get the Test Page to sort properly, we have to add a blank page to all the other pages in the directory to turn them into namespaces.
  - For the answer, see:  
[[opencpn:edit_user_manual#add_blank_child_pages_so_indexmenu_sorts|Add Blank Child Pages so Indexmenu sort is improved]]


==== Relative Paths ====

Pages are created but they do not show up in the navigation. Pages below are NOT defined by FULL PATHS starting from

<code>
opencpn:opencpn_user_manual:edit_ ...etc.
</code>

**Relative paths result in no navigation TOC link on the left!**

NOTE: Do not click on these red links and create pages!!! Why? Because the pages will be created in the wrong location!!

[[:sub_test_page_short_relative_path|sub_test_page_short_relative_path]]

<code>
[[:sub_test_page_short_relative_path|sub_test_page_short_relative_path]]
</code>\\
Where will this create a page?
\\
<code>
../doku2/data/pages/sub_test_page_short_relative_path
</code>

This file will not even be located in the start folder "opencpn" !!!

I have done a number of other tests using longer relative paths and the files will all be created in the wrong place

<code>
../doku2/data/pages/..
</code>

Therefore Indexmenu has no way to pickup the page as part of the TOC, because it is out of the tree.

==== Full Path ==== 

ALWAYS USE A FULL PATH Starting with

<code>
[[opencpn:opencpn_user_manual:  .... ]]
</code>

Page below is defined by FULL PATH starting from

<code>
opencpn:opencpn_user_manual:edit_  ...etc
</code>

This results in in the Navigation TOC link on the left!

NO COLON in front [[opencpn:edit_user_manual:test:full_path|opencpn:opencpn_user_manual:edit_user_manual:test:full_path]] This page is opencpn:opencpn_user_manual…

COLON in front [[opencpn:edit_user_manual:test:full_path|:opencpn:opencpn_user_manual:edit_user_manual:test:full_path]] This page is :opencpn:opencpn_user_manual..etc and it also refers to that same page!!!

Both work. We will probably be removing the ones with : in front by use of FIND + SED

